package com.jsmile.cloud.msgcenter.api.to;

import java.util.Map;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 龚亮
 * @version 1.0
 * @desc 为了薪资破万，还是睡一会儿吧...!
 * @date 2019年04月01日 04:45:35
 */
@Data
@ApiModel
public class SmsTo implements java.io.Serializable {

    @ApiModelProperty(value = "手机号码")
    @NotBlank
    private String phone;

    @ApiModelProperty(value = "短信发送类型 R注册 F找回密码 Z找回支付密码 L登录")
    @NotBlank
    private String smsType;

    @ApiModelProperty(value = "短信模板参数(json格式)", hidden = true)
    private Map<String, String> smsParams;

    @ApiModelProperty(value = "租户id")
    @NotNull
    private Long tenantId;
}
